<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>订单详情页面</title>
    <meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
    <!-- Loading Bootstrap -->
    <link href="{{__PUBLIC__}}/Admin/css/bootstrap.min.css" rel="stylesheet">
    <!-- Loading Flat UI -->
    <link href="{{__PUBLIC__}}/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
    <!-- 加载flat的js文件 -->
    <script src="{{__PUBLIC__}}/Admin/Flat/dist/js/vendor/jquery.min.js"></script>
    <script src="{{__PUBLIC__}}/jquery-1.8.2.min.js"></script>
    <script src="{{__PUBLIC__}}/Admin/Flat/dist/js/flat-ui.min.js"></script>
    <script src="{{__PUBLIC__}}/Admin/js/application.js"></script>
    

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
      <script src="dist/js/vendor/html5shiv.js"></script>
      <script src="dist/js/vendor/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="container">
       <h1 class="demo-section-title">订单详情</h1>

        <div class="demo-row typography-row">
          <!-- <div class="demo-title">
            <h3 class="demo-panel-title">收件人姓名:</h3>
          </div> -->

          <div class="demo-content"> 
            <div class="demo-type-example">
              <h5>收件信息</h5>
            </div>

            <div class="demo-type-example">
              <blockquote>
                <p>{{$info['address']}}</p>
                <p>{{$info['mobile']}}</p>
                <small>{{$info['consignee']}}</small>
              </blockquote>
            </div>            
          </div><!-- /.demo-content-wide -->
        </div><!-- /.demo-row -->
  <form action="" method="post">
       <!-- 隐藏域放置商品id -->
       <input type="hidden" name="oid" value="{{Q('get.oid')}}">
       <div class="row">
          <div class="col-xs-3">
            <h3 class="demo-panel-title">订单状态</h3>
            <select name="status" class="form-control select select-primary" data-toggle="select">
              <option value="未付款" {{if value="$info['status'] eq '未付款'" }} selected {{endif}} >未付款</option>
              <option value="已付款" {{if value="$info['status'] eq '已付款'" }} selected {{endif}}>已付款</option>
              <option value="未发货" {{if value="$info['status'] eq '未发货'" }} selected {{endif}}>未发货</option>
              <option value="已发货" {{if value="$info['status'] eq '已发货'" }} selected {{endif}}>已发货</option>
              <option value="已完成" {{if value="$info['status'] eq '已完成'" }} selected {{endif}}>已完成</option>
            </select>
          </div> <!-- /.col-xs-3 -->

          <div class="col-xs-3">
            <h3 class="demo-panel-title">选择快递</h3>
            <select name="delivery" class="form-control select select-primary" data-toggle="select">
              <option value="顺丰快递" {{if value="$info['delivery'] eq '顺丰快递'" }} selected {{endif}}>顺丰快递</option>
              <option value="中通快递" {{if value="$info['delivery'] eq '中通快递'" }} selected {{endif}}>中通快递</option>
              <option value="申通快递" {{if value="$info['delivery'] eq '申通快递'" }} selected {{endif}}>申通快递</option>
              <option value="圆通快递" {{if value="$info['delivery'] eq '圆通快递'" }} selected {{endif}}>圆通快递</option>
            </select>
          </div> <!-- /.col-xs-3 -->
          <div class="col-xs-3">
            <h3 class="demo-panel-title">输入订单号</h3>
            <input type="text" name="deliveryNum" value="{{$info['deliveryNum']}}" required placeholder="订单号" class="form-control" />
          </div> <!-- /.col-xs-3 -->
       </div> <!-- /row -->

        
    {{foreach from="$list" value="$v"}}
      <div class="row">
        <div class="col-xs-5">
          <h6>商品名</h6>
          <div class="form-group">
            <span class="btn btn-block btn-lg btn-info">{{$v['gname']}}</span>
          </div>
        </div>

        <div class="col-xs-3">
          <h6>款式</h6>
          <div class="form-group">
            <span class="btn btn-block btn-lg btn-info">{{$v['combine']}}</span>
          </div>
        </div>

        <div class="col-xs-1">
          <h6>个数</h6>
          <div class="form-group">
            <span class="btn btn-sm btn-info">{{$v['quantity']}}</span>
          </div>
        </div>

        <div class="col-xs-1">
          <h6>价格</h6>
          <div class="form-group">
            <span class="btn btn-sm btn-info">{{$v['subtotal']}}</span>
          </div>
        </div>

      </div><!-- /row -->
    {{endforeach}}

      <div class="row">
          <div class="col-xs-3">
            <h6>用户邮箱</h6>
            <div class="form-group">
              <input type="text" disabled="" value="{{$info['email']}}" placeholder="" class="" />
            </div>
          </div>

          <div class="col-xs-3">
            <h6>用户名</h6>
            <div class="form-group">
              <input type="text" disabled="" value="{{$info['neckname']}}" placeholder="" class="" />
            </div>
          </div>
      </div>

      <div class="row">
          <div class="col-xs-3">
            <div class="form-group">
              <button class="btn btn-primary btn-block" type="submit"> 修改 </button>
            </div>
          </div>
          <div class="col-xs-3">
            <div class="form-group">
              <a href="{{U('index')}}" class="btn btn-default btn-block">返回</a>
            </div>
          </div>
      </div>
  </form>
       

    </div> <!-- /container -->

  </body>
</html>
